'''
person_info = {
    "name": "Alex",
    "age": 30,
    "country": "USA",
    "language": ["English", "Spanish"],
    "is_student": False
}
#第一题
print(person_info["name"])
#第二题
person_info["age"] = 31
print(person_info["age"])
#第三题
person_info["height"] = 175
print(person_info["height"])
#第四题
del person_info["is_student"]
print(person_info)
#第五题
for item in person_info:
    print(item)
#第六题
if "email" not in person_info:
    person_info["email"] = "alex@example.com"
print(person_info)
#第七题
person_info["language"].remove("Spanish")
print(person_info["language"])
#第八题
print(len(person_info["language"]))
#第九题
person_info["language"].append('French')
print(person_info["language"])
#第十题
for i in range(1,4):
    key = f"hobby{i}"
    value = f"hobby{i}值"
    person_info[key]= value
print(person_info)
'''